package com.jf.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value = "user_order_t")
public class UserOrder {
    //订单id
    @TableId(type = IdType.AUTO)
    private int orderId;
    //用户id
    private String userId;
    //订单号
    private String orderNo;
    //订单金额
    private BigDecimal orderAmount;
    //订单状态 0待支付 1已支付 2已取消
    private int orderStatus;
    //创建时间
    private Date createTime;
    //最后修改时间
    private Date lastUpdateTime;

}
